*{
    margin: 0;
    padding: 0;
}
ul,li {
    list-style: none;
}
a {
    text-decoration: none;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.carousel img {
display: inline-block;
width: 100%;
height: 100%;
}
@media only screen and (min-width: 1024px) {
.header {
    width: 100%;
    height: 120px;
    line-height: 120px;
    display: flex;
    justify-content: center;
}
  .header .margin {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  .header .margin .header-logo {
    display: flex;
    align-items: center;
    width: auto;
    height: 45px;
}
 .header .margin .header-nav {
    width: auto;
    height: auto;
    display: flex;
    justify-content: flex-start;
    font-size: 12px;
}
 .header .margin  .header-nav li {
    width: auto;
    height: 120px;
}
.header .margin  .header-nav li:nth-child(2){
    width: 150px;
    padding:0;
    text-align: center;
    position: relative;
}
 .header .margin  .header-nav li:nth-child(2) .headerTo {
     position: absolute;
     left: 0;
     bottom:- 20px;
    margin-top: 4px;
    height: 30px;
    border-radius: 3px;
    z-index: 1000;
    text-align: center;
    display: none;
    background-color: #fff;
}
 .header .margin .header-nav li:nth-child(2) .headerTo li {
    height: 40px;
    line-height: 40px;
    background: #ffffff;
    border-bottom: 1px solid #cccccc;
}
 .header .margin .header-nav li:nth-child(2) .headerTo li a {
    padding: auto 20px;
} 
  .header .margin .header-nav li a {
    margin: auto 20px;
    color: #676767;
    display: inline-block;
    height: 100%;
}
 .header .margin .switch {
    color: #b3d4fc;
}
 .header .margin .headerPosition {
    display: none;
}
.carousel {
    width: auto;
    height: auto;
}
}
@media only screen and (max-width: 1024px) {
/* header */
.header {
    height: 60px;
    line-height: 60px;
}
.header .margin {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  .header .margin .header-logo {
    width: auto;
    height: 30px;
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.header .margin .header-logo img{
    display: inline-block;
    width: auto;
    height: 100%;
}
.header .margin .header-nav {
    display: none;
}
.header .margin .switch {
    display: none;
}
.header .margin .headerIcon {
    width: 10%;
    background: #333;
    display: flex;
    justify-content: center;
}
.header .margin .headerPosition {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    background: #fff;
    z-index: 100;
    display: none;
}
.header .margin .headerPosition .header {
    height: 60px;
    line-height: 60px;
    background: #333;
    color: #ffffff;
}
.header .margin .headerPosition .header .headerIcon {
    width: 10%;
    background: #333;
    display: flex;
    justify-content: center;
    float: right;
}
.header .margin .headerPosition .positionUl {
    width: auto;
    height: auto;
}
 .header .margin .headerPosition .positionUl li {
    height: 60px;
    line-height: 60px;
    border-bottom:1px solid #f2f2f2;
    margin-left: 20px;
}
.header .margin .headerPosition .positionUl li a {
    display: inline-block;
    height: 100%;
}
         /* banner */
.carousel {
height: auto;
}
}